package com.cicadasmall.data.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cicadasmall.common.base.BaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 字典表
 * </p>
 *
 * @author jin
 * @since 2020-04-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_dict")
public class DictDO extends BaseDO {

    private static final long serialVersionUID=122235L;

    /**
     * 字典表主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 字典标识
     */
    private String dictCode;

    /**
     * 字典名称
     */
    private String dictName;

    /**
     * 字典值
     */
    private Integer dictValue;

    /**
     * 上级ID
     */
    private Integer parentId;

    /**
     * 状态[0：不可用，1：可用]
     */
    private Boolean state;

    /**
     * 排序字段
     */
    private Integer sortId;

    /**
     * 排序字段
     */
    private String remarks;

}
